/**
 * 
 */
package org.mspring.mlog.web.module.ucenter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.mspring.platform.web.freemarker.widget.stereotype.Widget;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Gao Youbo
 * @since 2013-6-8
 * @description
 * @TODO
 */
@Widget
@RequestMapping("/u")
public class UCenter_UserWidget extends AbstractUCenterWidget {
    @RequestMapping("/login")
    public String login(HttpServletRequest request, HttpServletResponse response, Model model) {
        return "/u/login";
    }

    @RequestMapping("/login/do")
    public String login_do(HttpServletRequest request, HttpServletResponse response, Model model) {
        return "/u/login";
    }

    @RequestMapping("/register")
    public String register(HttpServletRequest request, HttpServletResponse response, Model model) {
        return "/u/register";
    }

    @RequestMapping("/register/do")
    public String register_do(HttpServletRequest request, HttpServletResponse response, Model model) {
        return "/u/register";
    }
}
